//
//  PictureInPictureController.m
//  Rail
//
//  Created by hychen on 2018/8/23.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import "PictureInPictureController.h"

@interface PictureInPictureController ()

@end

@implementation PictureInPictureController

+ (instancetype)showInRect:(CGRect)rect rootVc:(UIViewController *)rootVc {
    PictureInPictureController *nav = [[PictureInPictureController alloc] initWithRootViewController:rootVc];
    nav.view.frame = rect;
    return nav;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
